package com.bjx.file.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @desc: 文件视图
 * @author: liushuai
 * @date: 2023/5/15 14:51
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "FileVO",description = "文件上传的VO实体")
public class FileVO {

    /**
     *  原始的文件名称
     */
    @Schema(title = "originalFileName",description = "原始文件名称")
    private String originalFileName;

    /**
     *  保存的文件名称
     */
    @Schema(title = "saveFileName",description = "保存的文件名称")
    private String saveFileName;

    /**
     *  保存的url地址
     */
    @Schema(title = "saveUrl",description = "保存的文件Url")
    private String saveUrl;

    /**
     *  查看的url地址
     */
    @Schema(title = "viewUrl",description = "查看的url")
    private String viewUrl;

    /**
     *  文件类型
     */
    @Schema(title = "fileType",description = "文件类型")
    private String fileType;
}
